cmake_minimum_required(VERSION 3.4.1)

# util

add_library(util STATIC
  util/jni_util.cc
)

# math

add_library(math SHARED
  math.cc
)

target_link_libraries(math util log)

# bird

add_library(bird SHARED
  bird.cc
  bird_jni.cc
)
target_link_libraries(bird util log)
